<div class="header">
    <back-Btn cleancache="no"></back-Btn>
    <!-- {{title}} -->
    证件列表
    <div class="right-btn" ng-click="submit()" ng-show="selectLists.length>0">
        确定
    </div>
    <div class="right-btn" ng-click="searchID()" ng-show="selectLists.length==0">
        搜索
    </div>
</div>
<div class="container tablestyle pagetablestyle">
    <div class="list" infinite-scroll='taskList.nextPage()' infinite-scroll-disabled='taskList.busy' infinite-scroll-distance='0' infinite-scroll-container='".pagetablestyle"'>
        <div class="list-item" ng-repeat="item in taskList.items" ng-click="choosePeople($index)" ng-class="{'selected':checkIfExsit($index)!=-1}" track-by="$index">
            <!-- <p class="item-num"><span>{{$index+1}}</span></p> -->
            <div class="grid list-content">
                <div class="col-1-4 c9">证件编号</div>
                <div class="col-3-4">{{item.certificateId}}</div>
            </div>
            <div class="grid list-content">
                <div class="col-1-4 c9">姓名</div>
                <div class="col-3-4">{{item.ownerName}}</div>
            </div>
            <div class="grid list-content">
                <div class="col-1-4 c9">证书类别</div>
                <div class="col-3-4">{{item.certificateType}}</div>
            </div>
            <div class="grid list-content">
                <div class="col-1-4 c9">专业</div>
                <div class="col-3-4">{{item.major}}</div>
            </div>
            <div class="grid list-content">
                <div class="col-1-4 c9">状态</div>
                <div class="col-3-4" ng-switch="item.status">
                    <span ng-switch-when="1">正常</span>
                    <span ng-switch-when="2">押镖中</span>
                    <span ng-switch-when="3">已过期</span>
                    <span ng-switch-when="4">已转出</span>
                    <span ng-switch-when="5">其他</span>
                </div>
            </div>
            <div class="list-masker" ng-show="checkIfExsit($index)!=-1"></div>
        </div>
    </div>
    <div class="noData tc" ng-show="!taskList.noData">{{taskList.tip}}</div>
</div>
<!-- 选择办证明细子项目 -->
<div class="list tablestyle pickceritem" ng-show="showCerPicker">
    <div class="list-item">
        <div class="grid list-content">
            <div class="col-1-4 c9">证件类别</div>
            <div class="col-3-4">
                <select ng-model="picker.certificateType" ng-options="item.value as item.key for item in resiTypeList">
                    <option value="">选择证件类别</option>
                </select>
            </div>
        </div>
        <div class="grid list-content">
            <div class="col-1-4 c9">姓名</div>
            <div class="col-3-4">
                <input type="text" ng-model="picker.ownerName" />
            </div>
        </div>
        <div class="grid list-content">
            <div class="col-1-4 c9">专业</div>
            <div class="col-3-4">
                <input type="text" ng-model="picker.remark" />
            </div>
        </div>
    </div>
    <div class="pickceritem-btn tc flex">
        <div class="cancel" ng-click="cacelDialog()">取消</div>
        <div class="confirm" ng-click="confirmDialog()">确定</div>
    </div>
</div>
